package com.wanmait.baohan.service;


import com.github.pagehelper.PageInfo;
import com.wanmait.baohan.pojo.TravelApproval;
import com.wanmait.baohan.vo.DataVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TravelApprovalService extends CommonService<TravelApproval> {

    //查找所有的出差审批单
    PageInfo<TravelApproval> selectAllTravelApproval(Integer page, Integer limit,Integer node);

    //高文强 根据审批表的id查出所有的信息
    TravelApproval selectTravelApprovalById(Integer id);

    //高文强 添加审批信息
    void addApprovalInformation(TravelApproval travelApproval);

    //高文强   根据申请单id查找所有的审批单
    List<TravelApproval> findApprovalToApplicationById( Integer id);

    //高文强 修改审批状态
    void modifyApprovalStatus (TravelApproval travelApproval);
}
